package cn.websocket.pojo.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;
import java.util.List;

/**
 * <h3>WebSocket</h3>
 * <p></p>
 *
 * @author gdw
 * @since 2025-08-19 09:25:28
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "satoken-config")  // 对应 sa-token 开头的配置
@AllArgsConstructor
@NoArgsConstructor
public class SaTokenProperties implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<String> whitelist;
    private String verifyKey;
}
